package com.chase.chasecat.service.impl;

import com.chase.chasecat.common.R;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chase.chasecat.dao.DictDao;
import com.chase.chasecat.entity.DictEntity;
import com.chase.chasecat.service.DictService;

import java.util.List;

@Service("dictService")
public class DictServiceImpl extends ServiceImpl<DictDao, DictEntity> implements DictService {

    @Override
    public R<List<DictEntity>> getDictList() {
        List<DictEntity> dictEntityList = this.baseMapper.selectList(null);
        return R.ok(dictEntityList);
    }
}